//
//  HomeQustionProgessNumberCollectionViewCell.m
//  ZJControlsClass
//
//  Created by mac on 2024/11/23.
//

#import "HomeQustionProgessNumberCollectionViewCell.h"

@implementation HomeQustionProgessNumberCollectionViewCell


- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self){
        
        [self addSubview:self.follewView];
        [self.follewView addSubview:self.numberLabel];
        
        [self.follewView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.top.right.bottom.equalTo(self);
        }];
        
        [self.numberLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.top.right.bottom.equalTo(self);
        }];
        
        
        
    }
    return self;
}


#pragma mark -- 懒加载
-(UIView *)follewView{
    if (!_follewView){
        _follewView = [UIView new];
        _follewView.backgroundColor = [UIColor whiteColor];
        _follewView.layer.cornerRadius = 6;
        _follewView.layer.masksToBounds = YES;
        _follewView.backgroundColor = COLOR_RGB(224, 233, 251);
    }
    return _follewView;
}

-(UILabel *)numberLabel{
    if (!_numberLabel){
        _numberLabel = [UILabel new];
        _numberLabel.textColor = COLOR_RGB(50, 113, 237);
        _numberLabel.textAlignment = NSTextAlignmentCenter;
        _numberLabel.font = FONT14;
    }
    return _numberLabel;
}




@end
